package com.ctshk.rpc.order.bus.req;

import java.io.Serializable;
import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("支付巴士订单req")
public class BusOrderPaymentReq implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@NotNull(message = "订单ID不能为空")
    @ApiModelProperty("订单ID")
	private Long orderId;
	
	@ApiModelProperty("内部挂账团号")
	private String tripNumber;
	
	@ApiModelProperty(value = "是否使用pos机")
    private Integer isPos;
	
	@ApiModelProperty(value = "是否银联优惠")
    private Integer isUnionpayDiscount;

    @ApiModelProperty(value = "银联优惠id")
    private Long unionpayDiscountId;
	
	@Valid
	@NotEmpty(message = "收款记录列表不能为空")
	@ApiModelProperty("收款记录列表")
	private List<BusPayOrderCollectionReq> collectionReqList;
}
